﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PatternsLib.Observer
{
    public interface ISubject
    {
        void Attach(IObserver observer);

        void Detach(IObserver observer);

        bool Notify(string clientData, short objState);
    }

    public interface IObserver
    {
        bool Update(ISubject sender, Object gameInfo, short objState);
    }


}
